#pragma once
#ifndef HC_QUEUE
#define HC_QUEUE

#include "stdafx.h"
#include "object.h"
#include "message.h"

class CQueueParser
{
public:
	CQueueParser();
	~CQueueParser();

	void addObject(const string& name, CObject* obj);
	void parse(vector<Message>& initMessage);
	void pushMessage(vector<Message>& msg);
	void msgToParser(Message& msg, vector<Message>& retMsg);
private:
	queue<Message> msgQueue;
	map<string, CObject*> objects;
	// maybe this variables will be changed to pointers
};

#endif